package com.uoko.fileupload.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * <p>
 * 文件动态配置信息
 * </p>
 *
 * @author shaohua
 * Email shaohua@uoko.com
 * created by 2018/6/8
 */
@Configuration
@ConfigurationProperties(value = "fileupload")
public class FileUploadProperties {

    /**
     * 文件保存路径文件
     */
    private String fileDirectory;

    public String getFileDirectory() {
        return fileDirectory;
    }

    public void setFileDirectory(String fileDirectory) {
        this.fileDirectory = fileDirectory;
    }
}
